﻿export default url => {
    const crud = window.$crud(url)


    // 获取采购日志
    crud.logs = (num,params) => window.$axios({
        url: `${url}/getpurchaseslog/${num}`,
        method: 'get',
        params
    })

    return {
        ...crud
    }
}